/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.facesbeans.shared;

import br.com.proteu.hibernate.beans.MedicosProteu;
import br.com.proteu.util.NodeUserObject;
import javax.swing.tree.DefaultMutableTreeNode;

/**
 *
 * @author eros
 */
public class MedicoNodeObject extends NodeUserObject{


    protected int id;
    private MedicosProteu medico ;

   

     public MedicoNodeObject(DefaultMutableTreeNode defaultMutableTreeNode) {
        super(defaultMutableTreeNode);
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


     
    public MedicosProteu getMedico() {
        return medico;
    }

    public void setMedico(MedicosProteu medico) {
        this.medico = medico;
    }

     

}
